const microBaseApi = 'http://localhost:3001/dev-api';
const vue_token = 'vue_microservice'

const title = '微服务框架';

/**
 * @type {boolean} true | false
 * @description Whether show the settings right-panel
 */
const showSettings = true;

/**
 * @type {boolean} true | false
 * @description Whether need tagsView
 */
const tagsView = true;

/**
 * @type {boolean} true | false
 * @description Whether fix the header
 */
const fixedHeader = false;

/**
 * @type {boolean} true | false
 * @description 左边上面显示logon
 */
const sidebarLogo = true;

/**
 * @type {string | array} 'production' | ['production', 'development']
 * @description Need show err logs component.
 * The default is only used in the production env
 * If you want to also use it in dev, you can pass ['production', 'development']
 */
const errorLog = 'production';

// 微应用列表
const microApps = [
  /**
   * name: 微应用名称 - 具有唯一性
   * entry: 微应用入口 - 通过该地址加载微应用，这里我们使用 config 配置
   * container: 微应用挂载节点 - 微应用加载完成后将挂载在该节点上
   * activeRule: 微应用触发的路由规则 - 触发路由规则后将加载该微应用
   */
  // {
  //   moduleTitle: "首页",
  //   moduleName: "home",
  //   icon: "首页",
  //   name: "home",
  //   entry: "http://localhost:3000/",
  //   activeRule: "/home",
  // },
  {
    moduleTitle: "公共基础",
    moduleName: "base",
    icon: "公共基础",
    name: "base",
    entry: "http://localhost:3010/",
    activeRule: "/base",
    container: '#vue',
  },
  {
    moduleTitle: "公司人力",
    moduleName: "staff",
    icon: "公司人力",
    name: "staff",
    entry: "http://localhost:3020/",
    activeRule: "/staff",
    container: '#vue',
  },
  {
    moduleTitle: "高级模板",
    moduleName: "demoex",
    icon: "高级模板",
    entry: "http://localhost:3030/",
    activeRule: "/demoex",
    container: '#vue',
  },
  {
    moduleTitle: "基础模板",
    moduleName: "demo",
    icon: "基础模板",
    entry: "http://localhost:3333/",
    activeRule: "/demo",
    container: '#vue',
  },
];
